#include <mpi.h>
#include <stdio.h>
int main(int argc, char **argv)
{ 
    //your code here
    MPI_Init(&argc, &argv);
    
    printf("Hello World!\n");
    
    MPI_Finalize();
    //end of your code 
    
    return 0;
}

/*
编译：mpicc mpi.c -o mpi.o
运行：mpirun  -np 8 ./mpi
*/